<?php
require 'Home/Controller/Controller.php ';
//require 'Admin/Model/UserModel.php';
require 'Home/Model/IndexModel.php';
class ShowController extends Controller{
	function __Construct(){
		parent::__Construct();
		$this->model = new IndexModel();
	}
	function index(){
		$id = $_GET['id'];
		//echo $id;
		//$getList = $this->model->getList();
		$getVideoType = $this->model->getVideoType();
		$getVideoByVid = $this->model->getVideoByVid($id);
		//$getVideoByHits = $this->model->getVideoByHits();
		//$getTypeById = $this->model->getTypeById($id);
		//var_dump($data2);
	/*	$this->assign('list',$data1);
		$this->display(); 
		$this->assign('list',$data2);
		$this->display(); 
		$this->assign('list',$data3);
		$this->display(); 
		$this->assign('list',$data4);
		$this->display(); */
		include 'Home/View/Index/show.php';
	}
}
?>